<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
	<script type="text/javascript" src="/js/util.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var getbattle_pointJsonListUrl = "/battle_point/getJsonList/";
$(document).ready(function() {
	startMasker();
	$.ajax({
		type: "GET",
		url: getbattle_pointJsonListUrl,
		data: "",
		dataType: "json",
		success: function(data) {
			if(data.code > 0) {
				var resultList = data.result;
				var renderHtml = "[<br/>";
				for(var i=0;i<resultList.length;i++) {
					var result = resultList[i];
					$("#battle_pointId").html(result.battle_pointId);
					$("#deployId").html(result.deployId);
					$("#name").html('"'+result.name+'"');					$("#desc").html('"'+result.desc+'"');					$("#npcId").html(result.npcId);					$("#campaignId").html(result.campaignId);					$("#weatherIds").html(result.weatherIds);					$("#roundMax").html(result.roundMax);					$("#leaderDead").html(result.leaderDead);					$("#roundLimit").html(result.roundLimit);					$("#leader").html(result.leader);					$("#round").html(result.round);					$("#endCondition").html(result.endCondition);					$("#attackerMax").html(result.attackerMax);					$("#defenderMax").html(result.defenderMax);					$("#areaId").html(result.areaId);					$("#drops").html(result.drops);					$("#energyCost").html(result.energyCost);					$("#passCount").html(result.passCount);					$("#difficulty").html(result.difficulty);					$("#starMax").html(result.starMax);					$("#frontBattlePointIds").html(result.frontBattlePointIds);					$("#afterBattlePointIds").html(result.afterBattlePointIds);										
					renderHtml = renderHtml + $("#tpl_battle_point").html();
					if(i < resultList.length - 1) {
						renderHtml = renderHtml + ","
					}
				}
				renderHtml = renderHtml + "]<br/>";
				$("#battle_point_info").html(renderHtml);
				stopMasker();
			}else {
				errDialog(data.message);
			}
		}
});
});

</script>
<body>
<div class="json" id="battle_point_info">

</div>
<div style="display:none" id="tpl_battle_point">
<div class="json">
{<br/>
<span class="jsonkey">battle_pointId:</span><span id="battle_pointId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">name:</span><span id="name" class="jsonvalue"></span>,<br/>
<span class="jsonkey">desc:</span><span id="desc" class="jsonvalue"></span>,<br/>
<span class="jsonkey">npcId:</span><span id="npcId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">campaignId:</span><span id="campaignId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">weatherIds:</span><span id="weatherIds" class="jsonvalue"></span>,<br/>
<span class="jsonkey">roundMax:</span><span id="roundMax" class="jsonvalue"></span>,<br/>
<span class="jsonkey">leaderDead:</span><span id="leaderDead" class="jsonvalue"></span>,<br/>
<span class="jsonkey">roundLimit:</span><span id="roundLimit" class="jsonvalue"></span>,<br/>
<span class="jsonkey">leader:</span><span id="leader" class="jsonvalue"></span>,<br/>
<span class="jsonkey">round:</span><span id="round" class="jsonvalue"></span>,<br/>
<span class="jsonkey">endCondition:</span><span id="endCondition" class="jsonvalue"></span>,<br/>
<span class="jsonkey">attackerMax:</span><span id="attackerMax" class="jsonvalue"></span>,<br/>
<span class="jsonkey">defenderMax:</span><span id="defenderMax" class="jsonvalue"></span>,<br/>
<span class="jsonkey">areaId:</span><span id="areaId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">drops:</span><span id="drops" class="jsonvalue"></span>,<br/>
<span class="jsonkey">energyCost:</span><span id="energyCost" class="jsonvalue"></span>,<br/>
<span class="jsonkey">passCount:</span><span id="passCount" class="jsonvalue"></span>,<br/>
<span class="jsonkey">difficulty:</span><span id="difficulty" class="jsonvalue"></span>,<br/>
<span class="jsonkey">starMax:</span><span id="starMax" class="jsonvalue"></span>,<br/>
<span class="jsonkey">frontBattlePointIds:</span><span id="frontBattlePointIds" class="jsonvalue"></span>,<br/>
<span class="jsonkey">afterBattlePointIds:</span><span id="afterBattlePointIds" class="jsonvalue"></span><br/>
</br>
}
</div>
</div>
<div class="maskerContent" id="framemasker" name="framemasker">
	<iframe class="maskframe" src="/pages/core/Masker.html"></iframe>
</div>
</body>